package study.datastructure.queue;

/**
 * 2024/10/26,
 */

/**
 * 双端队列接口
 */
public interface Deque<E> {

    boolean offerFirst(E e);
    boolean offerLast(E e);
    E pollFirst();
    E pollLast();
    E peekFirst();
    E peekLast();
    boolean isEmpty();

    boolean isFull();
}
